<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>QQListener: D:/MyProgramme/VC++/QQListener/lanlist.h源文件</title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- 制作者 Doxygen 1.5.9 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>首页</span></a></li>
      <li class="current"><a href="files.html"><span>文件</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>文件列表</span></a></li>
      <li><a href="globals.html"><span>文件成员</span></a></li>
    </ul>
  </div>
<h1>D:/MyProgramme/VC++/QQListener/lanlist.h</h1><a href="lanlist_8h.html">浏览该文件的文档。</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 
<a name="l00005"></a>00005 <span class="preprocessor">#ifndef __LAN_LIST__</span>
<a name="l00006"></a>00006 <span class="preprocessor"></span><span class="preprocessor">#define __LAN_LIST__</span>
<a name="l00007"></a>00007 <span class="preprocessor"></span>
<a name="l00008"></a>00008 <span class="comment">//</span>
<a name="l00009"></a>00009 <span class="comment">// 结构体</span>
<a name="l00010"></a>00010 <span class="comment">//</span>
<a name="l00011"></a>00011 
<a name="l00012"></a>00012 <span class="keyword">struct </span>IP_LIST
<a name="l00013"></a>00013 {
<a name="l00014"></a>00014     <span class="keywordtype">char</span>        sz_ip[18];
<a name="l00015"></a>00015     BYTE        sz_mac[6];
<a name="l00016"></a>00016     IP_LIST*    next;
<a name="l00017"></a>00017 };
<a name="l00018"></a>00018 
<a name="l00019"></a>00019 <span class="keyword">typedef</span> IP_LIST* PIP_LIST;
<a name="l00020"></a>00020 
<a name="l00021"></a>00021 <span class="keywordtype">void</span> get_lan_list();
<a name="l00022"></a>00022 
<a name="l00023"></a>00023 <span class="keywordtype">bool</span> get_mac_from_ip( IN <span class="keywordtype">char</span>* sz_ip, OUT PBYTE bt_mac );
<a name="l00024"></a>00024 
<a name="l00025"></a>00025 <span class="keywordtype">void</span> <a class="code" href="lanlist_8cpp.html#ea7dc656575b1e0f3aa00a3c2e48ecc9" title="将结构体添加至链表">add_to_list</a>( PIP_LIST p_list );
<a name="l00026"></a>00026 
<a name="l00027"></a>00027 <span class="keywordtype">bool</span> <a class="code" href="lanlist_8cpp.html#d9429c78019005dc6e8e62a30166c64b" title="打印出获得的主机地址">print_list</a>();
<a name="l00028"></a>00028 
<a name="l00029"></a>00029 <span class="keywordtype">void</span> <a class="code" href="lanlist_8cpp.html#b33016ea2500d9858283da56b8c3989f" title="清空链表">clean_list</a>();
<a name="l00030"></a>00030 
<a name="l00031"></a>00031 <span class="preprocessor">#endif</span>
</pre></div></div>
<hr size="1"><address style="text-align: right;"><small>Generated at Wed Oct 7 12:50:14 2009 for QQListener by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address>
</body>
</html>
